﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ViewAllUnAssignedCourse.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.ViewAllUnAssignedCourse" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style4
        {
            width: 118px;
        }
        .style5
        {
            height: 21px;
        }
        #dateText
        {
            height: 17px;
            margin-bottom: 5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div align="center">
        <fieldset style="width: 800px; height: 680px;">
            <div align="center">
                <fieldset style="width: 300px; height: 200px;">
                    <legend style="text-decoration: blink; color: Navy;">View Unassigned Courses</legend>
                    <asp:Label ID="Label1" runat="server" Text="Department"></asp:Label>
                    &nbsp;&nbsp;
                    <asp:DropDownList ID="departmentDropDownList" runat="server" AutoPostBack="True"
                        OnSelectedIndexChanged="departmentDropDownList_SelectedIndexChanged">
                    </asp:DropDownList>
                    <br />
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="label" runat="server" Text="Do U Want Semester?"></asp:Label>
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="Label2" runat="server" Text="Yes"></asp:Label>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:RadioButton ID="yesRadioButton" runat="server" AutoPostBack="True" OnCheckedChanged="semesterYesRadioButton_CheckedChanged" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Label ID="Label3" runat="server" Text="No"></asp:Label>
                    &nbsp;&nbsp;
                    <asp:RadioButton ID="noRadioButton" runat="server" OnCheckedChanged="semesterNoRadioButton_CheckedChanged" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <br />
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;
                    <asp:DropDownList ID="semesterDropDownList" runat="server" AutoPostBack="True">
                    </asp:DropDownList>
                    <br />
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="showButton" runat="server" OnClick="showButton_Click" Text="Show" />
                    &nbsp;&nbsp;&nbsp;&nbsp;<br />
                    <br />
                </fieldset>
            </div>
            <div align="center">
                <asp:Label ID="viewMessageLabel" runat="server"></asp:Label>
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            <div>
                <fieldset style="width: 700px; height: 350px;">
                    <legend style="text-decoration: blink; color: Navy;">All Unassigned Courses</legend>
                    <asp:Panel ID="Panel1" runat="server" ScrollBars="Auto" Height="300px" Width="400px">
                        <asp:GridView ID="viewAllUnscheduleCourseGridView" runat="server" AutoGenerateColumns="False"
                            BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
                            CellSpacing="1" GridLines="None" AllowPaging="true" PageSize="2">
                            <Columns>
                                <asp:BoundField DataField="Code" HeaderText="Code" SortExpression="Code" />
                                <asp:BoundField DataField="CourseName" HeaderText="Course Name" SortExpression="CourseName" />
                                <asp:BoundField DataField="Credit" HeaderText="Credit" SortExpression="Credit" />
                                <asp:BoundField DataField="SemesterName" HeaderText="Semester" SortExpression="SemesterName" />
                            </Columns>
                            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                            <SortedAscendingCellStyle BackColor="#F1F1F1" />
                            <SortedAscendingHeaderStyle BackColor="#594B9C" />
                            <SortedDescendingCellStyle BackColor="#CAC9C9" />
                            <SortedDescendingHeaderStyle BackColor="#33276A" />
                        </asp:GridView>
                    </asp:Panel>
                </fieldset>
            </div>
        </fieldset>
    </div>
</asp:Content>
